//
//  ZPShareView.h
//  ZPIOSEducation
//
//  Created by mini1 on 2016/12/1.
//  Copyright © 2016年 mini1. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZPShareView : UIView

#pragma mark - <单例>
+ (instancetype)sharedSingleView;

#pragma mark - <创建view>
-(void)setupLabel:(UILabel *)label masksToBounds:(BOOL)masksToBounds cornerRadius:(CGFloat)cornerRadius backgroundColor:(UIColor *)bgColor text:(NSString *)text textColor:(UIColor *)textColor font:(CGFloat)fontSize textAlignment:(NSTextAlignment)textAlignment;

-(void)setupImageView:(UIImageView *)imageView masksToBounds:(BOOL)masksToBounds cornerRadius:(CGFloat)cornerRadius backgroundColor:(UIColor *)bgColor image:(NSString*)imageName;

- (void)setupTextField:(UITextField *)textField masksToBounds:(BOOL)masksToBounds cornerRadius:(CGFloat)cornerRadius backgroundColor:(UIColor *)bgColor borderStyle:(UITextBorderStyle)borderStyle textAlignment:(NSTextAlignment)textAlignment font:(CGFloat)fontSize placeholder:(NSString *)placeholder isSecureTextEntry:(BOOL)isEntry textFieldViewMode:(UITextFieldViewMode)textFieldViewMode textColor:(UIColor *)textColor keyboardType:(UIKeyboardType )type;


- (void)setupButton:(UIButton *)button backgroundColor:(UIColor *)bgColor image:(NSString*)imageName title:(NSString *)title titltColor:(UIColor *)titltColor titleFont:(CGFloat)font;

- (void)setupView:(UIView *)lineView masksToBounds:(BOOL)masksToBounds cornerRadius:(CGFloat)cornerRadius backgroundColor:(UIColor *)bgColor;
@end
